package com.example.service;

import com.example.utils.DataChange;
import org.springframework.context.ApplicationContext;

public interface ClusterService {

    void notifyToMessage(DataChange dataChange);

    void start(ApplicationContext applicationContext, IndexService indexService);

    void stop();
}
